Change in openvpn[master]: vcpkg-ports/pkcs11-helper: bump version to 1.31
A message that is not in the archive (sent off-list or not yet received): gerrit.1762900407000.I032a573df6deaa44b4afce3c2d2fd54f69df6e7a@...2715...
Attention is currently required from: plaisthos.
Hello plaisthos,
I'd like you to do a code review.
Please visit
http://gerrit.openvpn.net/c/openvpn/+/1368?usp=email
to review the following change.
Change subject: vcpkg-ports/pkcs11-helper: bump version to 1.31
......................................................................
vcpkg-ports/pkcs11-helper: bump version to 1.31
RFC7512 patch for pkcs11-uri is rebased to current master, fixing minor conflicts.
---
M contrib/vcpkg-ports/pkcs11-helper/pkcs11-helper-001-RFC7512.patch M contrib/vcpkg-ports/pkcs11-helper/portfile.cmake
M contrib/vcpkg-ports/pkcs11-helper/vcpkg.json
3 files changed, 15 insertions(+), 16 deletions(-)
git pull ssh://gerrit.openvpn.net:29418/openvpn refs/changes/68/1368/1
contrib/vcpkg-ports/pkcs11-helper/pkcs11-helper-001-RFC7512.patch +12 -13
@@ -1,5 +1,7 @@ upstream PR: https://github.com/OpenSC/pkcs11-helper/pull/4 +Rebased to 1.31.0 by [email protected]... + commit 90590b02085edc3830bdfe0942a46c4e7bf3f1ab (HEAD -> master) Author: David Woodhouse <[email protected]...> Date: Thu Apr 30 14:58:24 2015 +0100
@@ -596,9 +598,9 @@ + } + certificate_id->attrCKA_ID_size = id_hex_len/2; - if ( - (rv = _pkcs11h_mem_malloc ( -@@ -430,21 +596,64 @@ pkcs11h_certificate_deserializeCertificateId ( + if (certificate_id->attrCKA_ID_size == 0) { + rv = CKR_ATTRIBUTE_VALUE_INVALID; +@@ -434,21 +600,64 @@ pkcs11h_certificate_deserializeCertificateId ( goto cleanup; }
@@ -669,20 +671,17 @@ PKCS11H_LOG_DEBUG2, "PKCS#11: pkcs11h_certificate_deserializeCertificateId return rv=%lu-'%s'", diff --git a/lib/pkcs11h-util.c b/lib/pkcs11h-util.c -index 0743fd1..f90e443 100644 +index 1fcadfc..a304642 100644 --- a/lib/pkcs11h-util.c +++ b/lib/pkcs11h-util.c -@@ -110,12 +110,7 @@ _pkcs11h_util_hexToBinary ( - p++; +@@ -123,10 +123,6 @@ _pkcs11h_util_hexToBinary ( + (*p_target_size)++; } - if (*p != '\x0') { -- return CKR_ATTRIBUTE_VALUE_INVALID; +- goto cleanup; - } -- else { -- return CKR_OK; -- } -+ return CKR_OK; - } +- + ret = CKR_OK; - CK_RV + cleanup:
contrib/vcpkg-ports/pkcs11-helper/portfile.cmake +2 -2
@@ -1,9 +1,9 @@ -set(VERSION 1.30.0) +set(VERSION 1.31.0) vcpkg_download_distfile(ARCHIVE URLS "https://github.com/OpenSC/pkcs11-helper/releases/download/pkcs11-helper-${VERSION}/pkcs11-helper-${VERSION}.tar.bz2" FILENAME "pkcs11-helper-${VERSION}.tar.bz2" - SHA512 19fba76e41210cc17f9efa4501d0214d4a5c777ab7b2671888fd280b150bae4a6b190c7f47fb783015f9aa40d409fd6087264e531d6f28d0bed4293dcbf8bdd5 + SHA512 0833efc59e9093dd398a54640d858b01a830ef7adfb40321c1e0ed0afa004500fc1259cc66bc49c5263935adeda0a3bfe658de538eefd66888685a71f731c484 ) vcpkg_extract_source_archive_ex(
contrib/vcpkg-ports/pkcs11-helper/vcpkg.json +1 -1
@@ -1,6 +1,6 @@ { "name": "pkcs11-helper", - "version": "1.30.0", + "version": "1.31.0", "description": "pkcs11-helper is a library that simplifies the interaction with PKCS#11 providers for end-user applications.", "homepage": "https://github.com/OpenSC/pkcs11-helper", "license": "BSD-3-Clause OR GPL-2.0-only"
--
To view, visit http://gerrit.openvpn.net/c/openvpn/+/1368?usp=email
To unsubscribe, or for help writing mail filters, visit http://gerrit.openvpn.net/settings?usp=email
Gerrit-MessageType: newchange
Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: I032a573df6deaa44b4afce3c2d2fd54f69df6e7a
Gerrit-Change-Number: 1368
Gerrit-PatchSet: 1
Gerrit-Owner: selvanair <[email protected]...>
Gerrit-Reviewer: plaisthos <[email protected]...>
Gerrit-CC: openvpn-devel <[email protected]>
Gerrit-Attention: plaisthos <[email protected]...>
Attention is currently required from: selvanair, stipa.
flichtenheld has posted comments on this change by selvanair. ( http://gerrit.openvpn.net/c/openvpn/+/1368?usp=email )
Change subject: vcpkg-ports/pkcs11-helper: bump version to 1.31
......................................................................
Patch Set 1: Code-Review+2
--
To view, visit http://gerrit.openvpn.net/c/openvpn/+/1368?usp=email
To unsubscribe, or for help writing mail filters, visit http://gerrit.openvpn.net/settings?usp=email
Gerrit-MessageType: comment
Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: I032a573df6deaa44b4afce3c2d2fd54f69df6e7a
Gerrit-Change-Number: 1368
Gerrit-PatchSet: 1
Gerrit-Owner: selvanair <[email protected]...>
Gerrit-Reviewer: flichtenheld <[email protected]...>
Gerrit-Reviewer: stipa <[email protected]...>
Gerrit-CC: openvpn-devel <[email protected]>
Gerrit-Attention: selvanair <[email protected]...>
Gerrit-Attention: stipa <[email protected]...>
Gerrit-Comment-Date: Tue, 18 Nov 2025 12:49:01 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
PATCH 1/1 vcpkg-ports/pkcs11-helper: bump version to 1.31
In reply to a message not in the archiveFrom: Selva Nair <[email protected]...>
RFC7512 patch for pkcs11-uri is rebased to current master, fixing minor conflicts.
Gerrit URL: https://gerrit.openvpn.net/c/openvpn/+/1368
---
This change was reviewed on Gerrit and approved by at least one developer. I request to merge it to master.
Gerrit URL: https://gerrit.openvpn.net/c/openvpn/+/1368
This mail reflects revision 1 of this Change.
Acked-by according to Gerrit (reflected above):
Frank Lichtenheld <[email protected]...>
contrib/vcpkg-ports/pkcs11-helper/pkcs11-helper-001-RFC7512.patch +12 -13
@@ -1,5 +1,7 @@ upstream PR: https://github.com/OpenSC/pkcs11-helper/pull/4 +Rebased to 1.31.0 by [email protected]... + commit 90590b02085edc3830bdfe0942a46c4e7bf3f1ab (HEAD -> master) Author: David Woodhouse <[email protected]...> Date: Thu Apr 30 14:58:24 2015 +0100
@@ -596,9 +598,9 @@ + } + certificate_id->attrCKA_ID_size = id_hex_len/2; - if ( - (rv = _pkcs11h_mem_malloc ( -@@ -430,21 +596,64 @@ pkcs11h_certificate_deserializeCertificateId ( + if (certificate_id->attrCKA_ID_size == 0) { + rv = CKR_ATTRIBUTE_VALUE_INVALID; +@@ -434,21 +600,64 @@ pkcs11h_certificate_deserializeCertificateId ( goto cleanup; }
@@ -669,20 +671,17 @@ PKCS11H_LOG_DEBUG2, "PKCS#11: pkcs11h_certificate_deserializeCertificateId return rv=%lu-'%s'", diff --git a/lib/pkcs11h-util.c b/lib/pkcs11h-util.c -index 0743fd1..f90e443 100644 +index 1fcadfc..a304642 100644 --- a/lib/pkcs11h-util.c +++ b/lib/pkcs11h-util.c -@@ -110,12 +110,7 @@ _pkcs11h_util_hexToBinary ( - p++; +@@ -123,10 +123,6 @@ _pkcs11h_util_hexToBinary ( + (*p_target_size)++; } - if (*p != '\x0') { -- return CKR_ATTRIBUTE_VALUE_INVALID; +- goto cleanup; - } -- else { -- return CKR_OK; -- } -+ return CKR_OK; - } +- + ret = CKR_OK; - CK_RV + cleanup:
contrib/vcpkg-ports/pkcs11-helper/portfile.cmake +2 -2
@@ -1,9 +1,9 @@ -set(VERSION 1.30.0) +set(VERSION 1.31.0) vcpkg_download_distfile(ARCHIVE URLS "https://github.com/OpenSC/pkcs11-helper/releases/download/pkcs11-helper-${VERSION}/pkcs11-helper-${VERSION}.tar.bz2" FILENAME "pkcs11-helper-${VERSION}.tar.bz2" - SHA512 19fba76e41210cc17f9efa4501d0214d4a5c777ab7b2671888fd280b150bae4a6b190c7f47fb783015f9aa40d409fd6087264e531d6f28d0bed4293dcbf8bdd5 + SHA512 0833efc59e9093dd398a54640d858b01a830ef7adfb40321c1e0ed0afa004500fc1259cc66bc49c5263935adeda0a3bfe658de538eefd66888685a71f731c484 ) vcpkg_extract_source_archive_ex(
contrib/vcpkg-ports/pkcs11-helper/vcpkg.json +1 -1
@@ -1,6 +1,6 @@ { "name": "pkcs11-helper", - "version": "1.30.0", + "version": "1.31.0", "description": "pkcs11-helper is a library that simplifies the interaction with PKCS#11 providers for end-user applications.", "homepage": "https://github.com/OpenSC/pkcs11-helper", "license": "BSD-3-Clause OR GPL-2.0-only"
[Openvpn-devel] [PATCH applied] Re: vcpkg-ports/pkcs11-helper: bump version to 1.31
Thanks, and sorry for missing that before 2.7_rc2 release. Will be in rc3 (and 2.6.17).
Applied with "--whitespace=warn", as I remembered in time that the usual "fix" would break diffs-to-patches where the existing context is from upstream and has "non-conforming whitespace".
I have not tested this myself, just pushed to GHA and let it build things for me (cmake builds on msbuild and mingw).
Your patch has been applied to the master and release/2.6 branch.
commit 3d0d4b1cf6c77f107af323e0ec81b0273c211867 (master) commit 031fdbc7956f7912bedf161e79392811e44d3a44 (release/2.6)
Author: Selva Nair Date: Wed Nov 19 12:02:25 2025 +0100
vcpkg-ports/pkcs11-helper: bump version to 1.31
Signed-off-by: Selva Nair <[email protected]...>
Acked-by: Frank Lichtenheld <[email protected]...>
Gerrit URL: https://gerrit.openvpn.net/c/openvpn/+/1368
Message-Id: <[email protected]...>
URL: https://www.mail-archive.com/[email protected]/msg34527.html
Signed-off-by: Gert Doering <[email protected]...>--
kind regards,
Gert Doering
cron2 has uploaded a new patch set (#3) to the change originally created by selvanair. ( http://gerrit.openvpn.net/c/openvpn/+/1368?usp=email )
The following approvals got outdated and were removed:
Code-Review+2 by flichtenheld
Change subject: vcpkg-ports/pkcs11-helper: bump version to 1.31
......................................................................
vcpkg-ports/pkcs11-helper: bump version to 1.31
RFC7512 patch for pkcs11-uri is rebased to current master, fixing minor conflicts.
Gerrit URL: https://gerrit.openvpn.net/c/openvpn/+/1368
Message-Id: <[email protected]...>
URL: https://www.mail-archive.com/[email protected]/msg34527.html
---
M contrib/vcpkg-ports/pkcs11-helper/pkcs11-helper-001-RFC7512.patch M contrib/vcpkg-ports/pkcs11-helper/portfile.cmake
M contrib/vcpkg-ports/pkcs11-helper/vcpkg.json
3 files changed, 15 insertions(+), 16 deletions(-)
git pull ssh://gerrit.openvpn.net:29418/openvpn refs/changes/68/1368/3
contrib/vcpkg-ports/pkcs11-helper/pkcs11-helper-001-RFC7512.patch +12 -13
@@ -1,5 +1,7 @@ upstream PR: https://github.com/OpenSC/pkcs11-helper/pull/4 +Rebased to 1.31.0 by [email protected]... + commit 90590b02085edc3830bdfe0942a46c4e7bf3f1ab (HEAD -> master) Author: David Woodhouse <[email protected]...> Date: Thu Apr 30 14:58:24 2015 +0100
@@ -596,9 +598,9 @@ + } + certificate_id->attrCKA_ID_size = id_hex_len/2; - if ( - (rv = _pkcs11h_mem_malloc ( -@@ -430,21 +596,64 @@ pkcs11h_certificate_deserializeCertificateId ( + if (certificate_id->attrCKA_ID_size == 0) { + rv = CKR_ATTRIBUTE_VALUE_INVALID; +@@ -434,21 +600,64 @@ pkcs11h_certificate_deserializeCertificateId ( goto cleanup; }
@@ -669,20 +671,17 @@ PKCS11H_LOG_DEBUG2, "PKCS#11: pkcs11h_certificate_deserializeCertificateId return rv=%lu-'%s'", diff --git a/lib/pkcs11h-util.c b/lib/pkcs11h-util.c -index 0743fd1..f90e443 100644 +index 1fcadfc..a304642 100644 --- a/lib/pkcs11h-util.c +++ b/lib/pkcs11h-util.c -@@ -110,12 +110,7 @@ _pkcs11h_util_hexToBinary ( - p++; +@@ -123,10 +123,6 @@ _pkcs11h_util_hexToBinary ( + (*p_target_size)++; } - if (*p != '\x0') { -- return CKR_ATTRIBUTE_VALUE_INVALID; +- goto cleanup; - } -- else { -- return CKR_OK; -- } -+ return CKR_OK; - } +- + ret = CKR_OK; - CK_RV + cleanup:
contrib/vcpkg-ports/pkcs11-helper/portfile.cmake +2 -2
@@ -1,9 +1,9 @@ -set(VERSION 1.30.0) +set(VERSION 1.31.0) vcpkg_download_distfile(ARCHIVE URLS "https://github.com/OpenSC/pkcs11-helper/releases/download/pkcs11-helper-${VERSION}/pkcs11-helper-${VERSION}.tar.bz2" FILENAME "pkcs11-helper-${VERSION}.tar.bz2" - SHA512 19fba76e41210cc17f9efa4501d0214d4a5c777ab7b2671888fd280b150bae4a6b190c7f47fb783015f9aa40d409fd6087264e531d6f28d0bed4293dcbf8bdd5 + SHA512 0833efc59e9093dd398a54640d858b01a830ef7adfb40321c1e0ed0afa004500fc1259cc66bc49c5263935adeda0a3bfe658de538eefd66888685a71f731c484 ) vcpkg_extract_source_archive_ex(
contrib/vcpkg-ports/pkcs11-helper/vcpkg.json +1 -1
@@ -1,6 +1,6 @@ { "name": "pkcs11-helper", - "version": "1.30.0", + "version": "1.31.0", "description": "pkcs11-helper is a library that simplifies the interaction with PKCS#11 providers for end-user applications.", "homepage": "https://github.com/OpenSC/pkcs11-helper", "license": "BSD-3-Clause OR GPL-2.0-only"
--
To view, visit http://gerrit.openvpn.net/c/openvpn/+/1368?usp=email
To unsubscribe, or for help writing mail filters, visit http://gerrit.openvpn.net/settings?usp=email
Gerrit-MessageType: newpatchset
Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: I032a573df6deaa44b4afce3c2d2fd54f69df6e7a
Gerrit-Change-Number: 1368
Gerrit-PatchSet: 3
Gerrit-Owner: selvanair <[email protected]...>
Gerrit-Reviewer: flichtenheld <[email protected]...>
Gerrit-Reviewer: plaisthos <[email protected]...>
Gerrit-Reviewer: stipa <[email protected]...>
Gerrit-CC: openvpn-devel <[email protected]>
cron2 has submitted this change. ( http://gerrit.openvpn.net/c/openvpn/+/1368?usp=email )
Change subject: vcpkg-ports/pkcs11-helper: bump version to 1.31
......................................................................
vcpkg-ports/pkcs11-helper: bump version to 1.31
RFC7512 patch for pkcs11-uri is rebased to current master, fixing minor conflicts.
Gerrit URL: https://gerrit.openvpn.net/c/openvpn/+/1368
Message-Id: <[email protected]...>
URL: https://www.mail-archive.com/[email protected]/msg34527.html
---
M contrib/vcpkg-ports/pkcs11-helper/pkcs11-helper-001-RFC7512.patch M contrib/vcpkg-ports/pkcs11-helper/portfile.cmake
M contrib/vcpkg-ports/pkcs11-helper/vcpkg.json
3 files changed, 15 insertions(+), 16 deletions(-)
contrib/vcpkg-ports/pkcs11-helper/pkcs11-helper-001-RFC7512.patch +12 -13
@@ -1,5 +1,7 @@ upstream PR: https://github.com/OpenSC/pkcs11-helper/pull/4 +Rebased to 1.31.0 by [email protected]... + commit 90590b02085edc3830bdfe0942a46c4e7bf3f1ab (HEAD -> master) Author: David Woodhouse <[email protected]...> Date: Thu Apr 30 14:58:24 2015 +0100
@@ -596,9 +598,9 @@ + } + certificate_id->attrCKA_ID_size = id_hex_len/2; - if ( - (rv = _pkcs11h_mem_malloc ( -@@ -430,21 +596,64 @@ pkcs11h_certificate_deserializeCertificateId ( + if (certificate_id->attrCKA_ID_size == 0) { + rv = CKR_ATTRIBUTE_VALUE_INVALID; +@@ -434,21 +600,64 @@ pkcs11h_certificate_deserializeCertificateId ( goto cleanup; }
@@ -669,20 +671,17 @@ PKCS11H_LOG_DEBUG2, "PKCS#11: pkcs11h_certificate_deserializeCertificateId return rv=%lu-'%s'", diff --git a/lib/pkcs11h-util.c b/lib/pkcs11h-util.c -index 0743fd1..f90e443 100644 +index 1fcadfc..a304642 100644 --- a/lib/pkcs11h-util.c +++ b/lib/pkcs11h-util.c -@@ -110,12 +110,7 @@ _pkcs11h_util_hexToBinary ( - p++; +@@ -123,10 +123,6 @@ _pkcs11h_util_hexToBinary ( + (*p_target_size)++; } - if (*p != '\x0') { -- return CKR_ATTRIBUTE_VALUE_INVALID; +- goto cleanup; - } -- else { -- return CKR_OK; -- } -+ return CKR_OK; - } +- + ret = CKR_OK; - CK_RV + cleanup:
contrib/vcpkg-ports/pkcs11-helper/portfile.cmake +2 -2
@@ -1,9 +1,9 @@ -set(VERSION 1.30.0) +set(VERSION 1.31.0) vcpkg_download_distfile(ARCHIVE URLS "https://github.com/OpenSC/pkcs11-helper/releases/download/pkcs11-helper-${VERSION}/pkcs11-helper-${VERSION}.tar.bz2" FILENAME "pkcs11-helper-${VERSION}.tar.bz2" - SHA512 19fba76e41210cc17f9efa4501d0214d4a5c777ab7b2671888fd280b150bae4a6b190c7f47fb783015f9aa40d409fd6087264e531d6f28d0bed4293dcbf8bdd5 + SHA512 0833efc59e9093dd398a54640d858b01a830ef7adfb40321c1e0ed0afa004500fc1259cc66bc49c5263935adeda0a3bfe658de538eefd66888685a71f731c484 ) vcpkg_extract_source_archive_ex(
contrib/vcpkg-ports/pkcs11-helper/vcpkg.json +1 -1
@@ -1,6 +1,6 @@ { "name": "pkcs11-helper", - "version": "1.30.0", + "version": "1.31.0", "description": "pkcs11-helper is a library that simplifies the interaction with PKCS#11 providers for end-user applications.", "homepage": "https://github.com/OpenSC/pkcs11-helper", "license": "BSD-3-Clause OR GPL-2.0-only"
--
To view, visit http://gerrit.openvpn.net/c/openvpn/+/1368?usp=email
To unsubscribe, or for help writing mail filters, visit http://gerrit.openvpn.net/settings?usp=email
Gerrit-MessageType: merged
Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: I032a573df6deaa44b4afce3c2d2fd54f69df6e7a
Gerrit-Change-Number: 1368
Gerrit-PatchSet: 3
Gerrit-Owner: selvanair <[email protected]...>
Gerrit-Reviewer: flichtenheld <[email protected]...>
Gerrit-Reviewer: plaisthos <[email protected]...>
Gerrit-Reviewer: stipa <[email protected]...>
Gerrit-CC: openvpn-devel <[email protected]>